﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale.Domain.工单
{
    public class OpenFareModel:BaseEntity
    {
        /// <summary>
        /// 开票Id（主键唯一标识）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int OpenFareId {  get; set; }
        /// <summary>
        /// 开票编号
        /// </summary>
        public string OpenFareCode {  get; set; }
        /// <summary>
        /// 开票主题
        /// </summary>
        public string OpenFareTheme {  get; set; }
        /// <summary>
        /// 发票类型
        /// </summary>
        public string InvoiceTypeName {  get; set; }
        /// <summary>
        ///   开票日期      
        /// </summary>
        public DateTime OpenFareTime {  get; set; }
        /// <summary>
        /// 收票方
        /// </summary>
        public string CollectTickets {  get; set; }
        /// <summary>
        /// 开票金额
        /// </summary>
        public string OpenFareMoney {  get; set; }
        /// <summary>
        /// 发票号
        /// </summary>
        public string InvoiceTypeCode {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string OpenFareRemark {  get; set; }
    }
}
